home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Glitch Apple Disk Collection
/
2014.glitch.apple.collection.zip
/
indexed
/
33MASTER.DSK
/
RETRIEVE TEXT.bas
< prev
Wrap
BASIC Source File
|
2014-09-09
|
417b
|
17 lines
10 D$ = CHR$(4): REM CTRL D
12 PRINT "THIS PROGRAM RETRIEVES TEXT FILES"
14 PRINT "CREATED BY THE 'CREATE TEXT' PROGRAM."
16 PRINT "MON C,I,O IS IN EFFECT."
18 PRINT
20 INPUT "NAME OF TEXT FILE? ";Z$
22 PRINT D$;"MON C,I,O"
24 PRINT
30 PRINT D$;"OPEN ";Z$
40 PRINT D$;"READ ";Z$
50 INPUT I
55 DIM A$(I)
60 FOR J = 1 TO I
70 : INPUT A$(J)
80 NEXT J
90 PRINT D$;"CLOSE ";Z$
100 PRINT D$;"NOMON C,I,O"